@import "helper/function";
// 基本设置
@import "variables";
@import "vendor/base";
//mixins
@import "helper/mixins";
//utils
@import "utils/gallery";
@import "utils/timeline";
ul li {
    list-style:none;
}
textarea{
    width:100%;
    border: 1px solid silver;
    white-space: pre-wrap;
    word-wrap: break-word;
    outline: 0;
    resize: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: auto
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
//.btn.btn-default:active {
//  background-color: #c2c2c2;
//  border-color: #c2c2c2;
//  color: #FFF;
//}
.ibox-content>.form-group>p {
    margin: 0;
    padding-top: 7px;
    color: #9a9a9a;
}
.padding-em-left{
    padding-left:1em;
}

.borderless{
    border:0;
}

.inline-block{
    display:inline-block;
    height:3em;
    line-height: 3em;
    color:white;
    text-align: center;
    &.active{
        background-color: #337AB7;
    }

    &.inactive{
        background-color:#e4e4e4;
    }
}

.dangerColor {
    color: #EF5352;
}

//change bootstrap default
.form-horizontal .control-label {
    text-align: left;
}
.nav-header {
  background: none 
}

//sign
.sign-contract{
    margin-top:1em;
    .contract-title{
        border-bottom:1px solid black;
        width:100%;
        margin-bottom:0.5em;
    }
}
.otherInfo input {
    position: absolute;
    left: -9999px;
}

.otherInfo input:checked + label {
    background-color: #1ab394;
    color: #fff;
}

.otherInfo label {
    font-weight: normal;
    margin: 0 2px;
    padding: 10px 20px;
    border: 1px solid #e5e6e7;
    color: #333;
    background-color: #fff;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background-color .2s;
    transition: background-color .2s;
}
//enum buttons
.update-panel{
    input[type="checkbox"],input[type="radio"]{
        position: absolute;
        left: -9999px;
        &:disabled+label{
            color:#ccc;
            cursor: not-allowed;
        }
    }
    input:checked + label {
        background-color: #1ab394;
        color: #fff;
    }
    .sub-btn {
        font-weight: normal;
        margin: 0px 2px;
        padding: 10px 20px;
        border: 1px solid #e5e6e7;
        color: #333;
        background-color: #fff;
        white-space: nowrap;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: background-color .2s;
        transition: background-color .2s;
    }
}
#l-map {
        height:400px;
    }
#r-result {width:100%;}
#map-box {
    position: relative;
}
#map-box > .btn {
    display: none;
    position: absolute;
    bottom:0;
    right:30px;
    font-size:12px;
    color: #ffffff;
}
.positionEdit {
    background-color: rgba(255,0,0,0.5);
}
.positionStorage {
    background-color: rgba(0, 80, 249, 0.7);
}
#r-result { width:100%;}
#aroundInfo>li>span {
    color: red;
}

#check-villageName-response {
    width:100%;
    padding-left: 0;
}
#check-villageName-response>li {
    height: 24px;
    line-height:24px;
    color: #8f8f8f;
}
#check-villageName-response span,#village-list>li span  {
    color: red;
}
#check-villageName-response ins {
    background-color: #ffffff;
    color: #1ab394;
}
#check-villageName {
    padding:0 1em;
    position: absolute;
    height:34px;
    line-height:34px;
    right:0;
    top:0;
}
#village-list {
    padding: 0;
    width: 100%;
    position: absolute;
    top:29px;
    z-index:999;
    background-color: #FFFFFF;
}
#village-list>li,#village-list>p {
    padding:0 0 0 15px;
    margin: 0 30px 0 0;
    border:1px solid #eee;
    border-top:0 none;
    height: 34px;
    line-height:34px;
}
#village-list>p>span {
    color: #666;
}
#village-list>li:hover {
    background-color: #eeeeee;
}
#room-type {
    padding:0 15px;
}
#room-type > p,#room-type input {
    padding: 0;
}
#room-type input {
    width: 50%;
    text-align: center;
}
#room-type > p > span {
    width:50%;
    padding:6px 0;
    border-left: none;
    line-height:20px;
}

#data-list td .checkbox > input {
    position: absolute !important; }

.husky-radio {
    padding: 0 15px;
    overflow: hidden;
    cursor: pointer; }

.husky-radio > li {
    float: left;
    margin: 0 15px;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    margin-top: 5px;
    line-height: 20px;
    padding: 0 15px;
    text-align: center; }

.husky-radio > li.chosen {
    border-color: #1ab394;
    background-color: #1ab394;
    color: #ffffff; }

.my-radio-box input {
    position: absolute;
    left: -9999px;
}
.my-radio-box input:checked + label {
    background-color: #1ab394;
    color: #fff;
}
.my-radio-box label {
    font-weight: normal;
    margin: 0 2px;
    padding: 6px 20px;
    border: 1px solid #e5e6e7;
    color: #333;
    background-color: #fff;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background-color .2s;
    transition: background-color .2s;
}

#add-label {
    padding:5px 15px;
    color: #ffffff;
    background-color: #1ab394;
    border:1px solid #1ab394;
}
#label-list >li {
    border:1px solid #1ab394;
    color: #1ab394;
    margin:0 5px;
    padding:5px 20px;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    overflow: hidden;
}
#label-list >li.btn:active {
    -webkit-box-shadow: 0 0 0 0 transparent;
    -moz-box-shadow: 0 0 0 0 transparent;
    box-shadow: 0 0 0 0 transparent;
}
#label-list >li:hover {
    padding:5px 30px 5px 10px;
}

#label-list >li i {
    color: #808080;
    font-size:24px;
    position: absolute;
    top:50%;
    right:120%;
    text-align: center;
    -webkit-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#label-list >li:hover i {
    right:5px;
}
#label-list >li i:hover {
    color:  #ff5658;
}

#data-photo-list li{
    float: left;
    position: relative;
    width: 30.33%;
    margin:5px 1.5%;
    height: 200px;
    line-height:200px;
    overflow: hidden;
    //border:1px solid #ff5658;
    text-align: center;
}

#data-photo-list > li img{
    width: 100%;
}
#data-photo-list > li > p{
    position: absolute;
    margin:0;
    bottom:5px;
    left:50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
}
#group-photo-list li {
    float: left;
    width:auto;
    height: 200px;
    margin:5px;
    line-height: 200px;
}
#group-photo-list > li img {
    height: 100%;
    width:auto;
    vertical-align: middle;
}
#group-photo-list > li > p {

}
 .data-list-panel {
    position: absolute;
    top:39px;
    left:0;
    margin:0;
    padding: 0 15px;
    width: 100%;
    z-index:999;
    background-color: #fff;
}
.data-list-panel > li:first-child {
    border-top:1px solid #eee;
}
.data-list-panel > li {
    padding:0 15px;
    border: 1px solid #eee;
    border-top: 0 none;
    height: 34px;
    line-height:34px;
}
.data-list-panel > li:hover {
    background-color: #eeeeee;
}
.no-plr {
    padding-left: 0;
    padding-right: 0;
}
#header-photo .ibox-content .fancybox {
    left:50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
#slider>ul {
    overflow: hidden;
}
#slider>ul>li.trans{
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
#slider>ul>li {
    position: absolute;
    top:0;
    left:100%;
    z-index:10;
    background-color: #fff;
}
#slider>ul>li.now {
    left:0;
    z-index:99;
}
#slider>ul>li.prev{
    left:-100%;
    z-index:88;
}
#slider>ul>li.next{
    left:100%;
}
.icon-content {
    position: absolute;
    height: 200px;
    left:59%;
    top:34px;
    padding:0 20px;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
    z-index:999;
    background-color: #fff;
    display: none;
}
.icon-content .fa {
    height: 40px;
    line-height:40px;
}
.icon-content .fa,.icon-list .fa {
    text-align: center;
    font-size:20px;
    color:#6f6f6f;
}
.page-controller{
    height: 40px;
    line-height:40px;
    border:1px solid #c0c0c0;
}
.page-controller .fa {
    width: 20%;
    text-align: center;
}
.page-controller .fa:hover {
    background-color: rgba(0,0,0,0.2);
}
.icon-list {
    margin: 0;
    padding: 0;
    border:1px solid #c0c0c0;
    border-bottom:0 none;
    width: 100%;
    height: 100%;
    position: relative;
}
.icon-list>li {
    position: absolute;
    width: 100%;
    height: 100%;
}
.icon-list .fa {
    float: left;
    width: 10%;
    height:50px;
    line-height: 50px;

}
.icon-list .fa:hover {
    background-color: #888;
    color: #fff;
}